﻿<%@ Page Language="C#" %>

<%@ Import Namespace="wojilu" %>
<%@ Import Namespace="wojilu.View" %>
<%@ Import Namespace="wojilu.Web.Controller" %>
<%@ Import Namespace="wojilu.Apps.Qycms.Domain" %>
<%var site = v.data("site") as m_site; %>
<%var lngs = site.lngs; %>
<%var read = v.data("read") as System.Data.DataRow; %>
<%var typeread = v.data("typeread") as TypeList; %>

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>#{pageTitle}</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="format-detection" content="telephone=no" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
<link href="#{site.waptemplates}css/reset.css" type="text/css" rel="stylesheet" />
<link href="#{site.waptemplates}css/index.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="#{site.dir}js/zepto.1.1.3.js"></script>
<script src="#{site.dir}js/list.js"></script>
<style>
body{ background:#f4f4f4}
.h-title{ text-align:center; color:#fff; font-weight:bold}
.phone-n li{ list-style:none; margin-bottom:10px;}
.phone-n li a{ display:inline-block; padding:10px 2%; border:1px solid #e5e1e1; width:96%; background:#fff}
</style>
</head>

<body>



<style>
A.applink:hover {border: 2px dotted #DCE6F4;padding:2px;background-color:#ffff00;color:green;text-decoration:none}
A.applink       {border: 2px dotted #DCE6F4;padding:2px;color:#2F5BFF;background:transparent;text-decoration:none}
A.info          {color:#2F5BFF;background:transparent;text-decoration:none}
A.info:hover    {color:green;background:transparent;text-decoration:underline}
</style>



<header>
	<div class="back"><a href="javascript:history.back()"></a></div>
   <div class="h-title"> <%=typeread.typename %>  </div>
  <div class="navbtn" id="navbtn"></div>
</header>
#{top}
<section >
  
  <div id="phone-main">
  		
   		<div class="phone-n" style="padding:10px;">
        		<%var alist = YBBCommon.GetListMenu(typeread.Id); %>
               <%foreach(var row in alist){ %>
              <li><a href='<%=row.gwaplink %>'><%=row.typename %></a> </li><%} %>
        </div>
  </div>
</section>
#{bottom}
</body>
</html>